package network.tcpchat;

import java.io.IOException;
import java.net.ServerSocket;

public class TcpServerDemo1  {
    public static void main(String[] args) {
        try {
            //需要有一个地址
            ServerSocket serverSocket = new ServerSocket(9999);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
